"""
确保系统中永远只有admin是超级用户
"""
from sqlalchemy.orm import Session
from ..services.auth_service import AuthService

def ensure_admin_only_superuser(db: Session):
    """确保只有admin是超级用户"""
    auth_service = AuthService(db)
    auth_service.ensure_only_admin_is_superuser()
    print("✅ 已确保只有admin用户拥有超级用户权限")